﻿using System;

namespace ThinkAway.Net.Sockets
{

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class TextMessage : IProtocol
    {
        #region Implementation of IProtocol

        private string _header;
        public string Header
        {
            get { return _header; }
            set { _header = value; }
        }

        private string _sender;
        public string Sender
        {
            get { return _sender; }
            set { _sender = value; }
        }

        private string _receiver;
        public string Receiver
        {
            get { return _receiver; }
            set { _receiver = value; }
        }

        private string _message;
        public string Message
        {
            get { return _message; }
            set { _message = value; }
        }

        #endregion
    }
}
